
<!DOCTYPE html>
<html>
<include file="public@head"/>
<body>
<include file="public@nav"/>
<div class="container"  id="data-mine">
	<div class="row">

		<if condition="!empty($user)">
			<div class="member_top member_top_1">
				<div class="member_top_bg"><img  src="__TMPL__/public/assets/images/member_bg.png"></div>
				<div class="member_m_pic member_m_pic_1">
					<br />
					<a href="">
						<if condition="empty($user.avatar)">
							<img src="__TMPL__/public/assets/images/headicon_128.png" width="60px" />
							<else />
							<img src="__ROOT__/upload/{$user.avatar}" width="60px"/>
						</if>
					</a>
				</div>
				<div  class="member_m_z member_m_z_1">
					<br />
					<div class="member_m_x">昵称：{$user.user_nickname|default='未填写'}</div>
					<div class="member_m_x">推广ID：{$user.extension_id|default='未填写'}</div>
				</div>
			</div>
			<div class="member_mp_img"><a class="btn" href="javascript:;" style="color: red" id="logout">退出</a></div>

			<div class="list-group mb10">
				<a href="{:cmf_url('user/favorite/index')}" class="list-group-item tip">
					<div class="list_group_img">
						<img src="__TMPL__/public/assets/images/order_bg_10.png">
					</div>
					合作加盟
				</a>
				<a href="{:cmf_url('user/profile/binding')}" class="list-group-item tip">
					<div class="list_group_img">
						<img src="__TMPL__/public/assets/images/order_bg_9.png">
					</div>
					安全设置
				</a>
				<a href="{:cmf_url('user/comment/user_log')}" class="list-group-item tip">
					<div class="list_group_img">
						<img src="__TMPL__/public/assets/images/order_bg_7.png">
					</div>
					账户日志
				</a>
			</div>
			<else />
			<div class="member_top member_top_1">
				<div class="member_top_bg"><img  src="__TMPL__/public/assets/images/member_bg.png"></div>
				<div class="member_m_pic member_m_pic_1">
					<br />
					<a href="{:url('user/login/index')}">
						<img src="__TMPL__/public/assets/images/headicon_128.png" width="60px" />
						<span style="color: red">去登录</span>
					</a>
				</div>

			</div>
		</if>



	</div>
</div>
</body>
</html>